package observers; 

import game.Player;
import java.io.IOException; 
import java.io.FileNotFoundException;
import configuration.Configuration; 

public class PlayerMoveEvent extends Event {
	
	private Player player;
	
	public PlayerMoveEvent(Player player, String message) throws IOException, FileNotFoundException {
		super(message); 
		this.player = player;
		String logString = message; 
		Configuration.logz.logInfo(logString); 
	}
	
	public Player getPlayer() {
		return player;
	}
}